<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #div_parent {
            width: 600px;
            height: 500px;
            background-color: blueviolet;
        }
        
        #div_child {
            width: 300px;
            height: 250px;
            background-color: aqua;
        }
    </style>
    <script src="./demo10.js"></script>
</head>

<body>
    <div id="div_parent">
        父div
        <div id="div_child">子div</div>
    </div>
    <div>
        <ul>
            <li>拿铁</li>
            <li>冰美式</li>
            <li>卡布奇诺</li>
        </ul>
        <a href="https://www.baidu.com/">百度</a>
    </div>
</body>

</html>